﻿using MediatR;
using SqlSugar;
using T.Common.Domain.Common;

namespace RedDragon.RBAC.API.Application.Common.Role
{
    /// <summary>
    /// 角色添加Command
    /// </summary>
    public class CreateRolesCommand:IRequest<Result>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RolesId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        
        public string? RolesName { get; set; }
        /// <summary>
        /// 角色编码
        /// </summary>
       
        public string? RolesCode { get; set; }
        /// <summary>
        /// 是否删除 1-未删除；2-删除
        /// </summary>

        public int? IsDel { get; set; }
        /// <summary>
        /// 状态 1-有效；2-无效
        /// </summary>

        public int? IsStatus { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateOwner { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExamineOwner { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
    }
}
